package com.power.sifa.net.formact;

import com.plf.common.exception.BusinessException;
import com.power.sifa.approve.model.Apl_main;

import java.util.Map;

public interface IFormNextAction {


    /**
     * 下一步前操作
     * @param applyid
     * @param formData
     */
    void before(String applyid, Map<String, Object> formData) throws BusinessException;


    /**
     * 下一步后操作
     * @param applyid
     * @param formData
     */
    void after(String applyid, Map<String, Object> formData);

    /**
     * 提交操作
     * @param applyid
     * @param mainObj
     */
    void submit(String applyid, Apl_main mainObj) throws BusinessException;

    /**
     * 保存操作
     * @param applyid
     * @param formData
     */
    void save(String applyid, Map<String, Object> formData) throws BusinessException;
}
